package com.gitee.xmhzzz.component.oss.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;


/**
 * @ClassName OssConfig
 * @Description
 * @Author wzq
 * @Date 2023/7/7 14:29
 * @Version 1.0
 */

@Getter
public class OssConfig {
    @Value("${oss.host:}")
    private String endpoint;

    @Value("${oss.policy.host:}")
    private String policyEndpoint;

    @Value("${oss.fileHost:}")
    private String fileHost;

    @Value("${oss.accessKeyId:}")
    private String accessKeyId;

    @Value("${oss.accessKeySecret:}")
    private String accessKeySecret;

    @Value("${oss.bucketName:}")
    private String bucketName;

    @Value("${oss.pornFileHost:}")
    private String pornFileHost;

    @Value("${oss.pornBucketName:}")
    private String pornBucketName;

    @Value("${oss.pornKeyPrefix:}")
    private String pornKeyPrefix;

    @Value("${oss.roleArn:}")
    private String roleArn;

    @Value("${oss.roleSessionName:}")
    private String roleSessionName;


}
